.Net Framework > v2.0.50727 > System > Reflection > Emit > TypeBuilder > DefineMethod DefineMethod(String,MethodAttributes)
DefineMethod(String,MethodAttributes,CallingConventions)
DefineMethod(String,MethodAttributes,CallingConventions,Type,Type[])
DefineMethod(String,MethodAttributes,CallingConventions,Type,Type[],Type[],Type[],Type[][],Type[][])
DefineMethod(String,MethodAttributes,Type,Type[])


DefineMethod(String,MethodAttributes)

Category
Method
Description
Adds a new method to the type, with the specified name and method attributes.
Type
MethodBuilder
Character
public
Parameters
NameTypeDescription
nameString
attributesMethodAttributes
Tags
01892ABD01, 02E3ABA98D, 0376596F91

DefineMethod(String,MethodAttributes,CallingConventions)

Category
Method
Description
Adds a new method to the type, with the specified name, method attributes, and calling convention.
Type
MethodBuilder
Character
public
Parameters
NameTypeDescription
nameString
attributesMethodAttributes
callingConventionCallingConventions
Tags
01892ABD01, 02E3ABA98D, 0376596F91

DefineMethod(String,MethodAttributes,CallingConventions,Type,Type[])

Category
Method
Description
Adds a new method to the type, with the specified name, method attributes, calling convention, and method signature.
Type
MethodBuilder
Character
public
Parameters
NameTypeDescription
nameString
attributesMethodAttributes
callingConventionCallingConventions
returnTypeType
parameterTypesType[]
Tags
01892ABD01, 02E3ABA98D, 0376596F91

DefineMethod(String,MethodAttributes,CallingConventions,Type,Type[],Type[],Type[],Type[][],Type[][])

Category
Method
Description
Adds a new method to the type, with the specified name, method attributes, calling convention, method signature, and custom modifiers.
Type
MethodBuilder
Character
public
Parameters
NameTypeDescription
nameString
attributesMethodAttributes
callingConventionCallingConventions
returnTypeType
returnTypeRequiredCustomModifiersType[]
returnTypeOptionalCustomModifiersType[]
parameterTypesType[]
parameterTypeRequiredCustomModifiersType[]
parameterTypeOptionalCustomModifiersType[]
Tags
01892ABD01, 02E3ABA98D, 0376596F91

DefineMethod(String,MethodAttributes,Type,Type[])

Category
Method
Description
Adds a new method to the type, with the specified name, method attributes, and method signature.
Type
MethodBuilder
Character
public
Parameters
NameTypeDescription
nameString
attributesMethodAttributes
returnTypeType
parameterTypesType[]
Tags
01892ABD01, 02E3ABA98D, 0376596F91

Software for developers
.Net Components
Delphi Components
Software for Android Developers
More information resources
WinAPI Programmer's Reference
Unix Manual Pages
Delphi Examples
Databases for Amazon shops developers
Amazon Categories Database
Browse Nodes Database